<template>
    <div style="
                width: 100%;
                position: relative;
                float: left;">
        <div style="
                    width: 100%;
                    position: absolute;
                    font-size: 14px;
                    text-align: center;
                    line-height: 18px;
                    overflow: hidden;
                    vertical-align: middle;">
            <van-empty class="custom-image" :description="msg"/>
        </div>
    </div>
</template>

<style>
    .custom-image .van-empty__image {
        width: 90px;
        height: 90px;
    }

    p.van-empty__description{
        padding: 0;
        word-break: keep-all;
        line-break: anywhere;
    }
</style>

<script>
    export default {
        props: {
            msg: String
        }
    }
</script>